package com.yitao.client.dto.banner;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 *
 *  @author skipper
 *  @date 2019-02-15
 *  @desc  如该dto不需要id继承 BaseDto 即可 如需id 则根据情况选择  BaseDtoWithId  或 BaseDtoWithStringId
 *  @see
 */

public class BannerDto extends BaseDto {


    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    private Long id;


    /**
     * 客户端类型
     */
    @ApiModelProperty("客户端类型")
    private Integer clientType;


    /**
     * banner所属的门店 默认为0 官方
     */
    @ApiModelProperty("banner所属的门店 默认为0 官方")
    private Long shopId;


    /**
     * 链接
     */
    @ApiModelProperty("链接")
    private String skipUrl;


    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String bannerTitle;


    /**
     * 封面图片url
     */
    @ApiModelProperty("封面图片url")
    private String bannerUrl;


    /**
     * 简述
     */
    @ApiModelProperty("简述")
    private String bannerDesc;


    /**
     * 是否删除(0:否 1:是)
     */
    @ApiModelProperty("是否删除(0:否 1:是)")
    private Integer isDelete;


    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sort;


    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    /**
     * 最后操作人
     */
    @ApiModelProperty("最后操作人")
    private Long lastUpdateBy;


    /**
     * 最后操作时间
     */
    @ApiModelProperty("最后操作时间")
    private Date lastUpdateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getClientType() {
        return clientType;
    }

    public void setClientType(Integer clientType) {
        this.clientType = clientType;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getSkipUrl() {
        return skipUrl;
    }

    public void setSkipUrl(String skipUrl) {
        this.skipUrl = skipUrl;
    }

    public String getBannerTitle() {
        return bannerTitle;
    }

    public void setBannerTitle(String bannerTitle) {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public String getBannerDesc() {
        return bannerDesc;
    }

    public void setBannerDesc(String bannerDesc) {
        this.bannerDesc = bannerDesc;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}